<?php
namespace App\Common\Cla\ClaBase\Traits\Common\MagicGather;

use App\Common as com;
use App\Common\Cla\ClaBase\Traits\Common\MagicGather as clac;

class Set extends clac\Base {
	
	/** 默认处理 */
	private $mainObj = null;
	
	/**
	 *
	 * @param obj $son_class_this MagicGather所在的this
	 */
	public function __construct( $magic_gather_this ){
		parent::__construct( $magic_gather_this );
		//
		$this->main();
	}
	
	/**
	 * 获取默认对象
	 * @return \App\Common\Cla\ClaBase\Traits\Common\MagicGather\Set\Main
	 */
	public function main(){
		if( $this->mainObj === null ){
			$this->mainObj = (new clac\Set\Main( $this->magicGatherThis ));
		}
		//
		return $this->mainObj;
	}
	
}
